6 User Manual Cube-Cell
Introduction
This Chapter contains the user manual for Universal Cube-Cell based Lora Sensors.
Compared to Arduino and ESP mcu's, the Cube-Cell board is a different animal, mostly because several parameters are not set inside the C++ code but rather in the IDE and using (modem-like) AT commends. Unfortinately the documentation provided by Heltec is MINIMAL and not of high quality. We can expect that this is a temporary things which will be solved in later releases.
So the following steps need to be made:
- Use "Tools" and Select the "Board" and then "CubeCell-Board" (or Capsule if you have one)
- Use the IDE unders "Tools" To set a few other parameters right
- LORAWAN_REGION "REGION_EU868"
- LORAWAN_AT_SUPPORT "ON"
- Set the remaining parameters for the node using AT commands (Best is to make a text file for this and use the AT commands to do this. Please use a different Serial command program from the IDE as that one does and it is not bi-directional). From teh terminal you can use AT commands to program your Cube-Cell, you can use you TTN console to see the values to pur in the section below.
- AT+LORAWAN=1
AT+OTAA=0
AT+NwkSKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
AT+AppSKey=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
AT+DevAddr=ZZZZZZ
The process above is described in detail in thhe Configuration chapter.
The following commands are supported: